home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Varsity Update 1998 August
/
SGI Varsity Update 1998 August.iso
/
dist
/
SpeedShop.idb
/
usr
/
demos
/
SpeedShop
/
linpack
/
Makefile.z
/
Makefile
Wrap
Makefile
|
1998-07-29
|
997b
|
64 lines
#!smake
include ./options
#if ($(LD_OPTS) == "-o32 -lexc")
LDFLAGS=-lexc
#endif
.SUFFIXES: .f_orig .f .anl
HEADERS= \
$(NULL)
TARGETS = \
linpackup \
linpackd \
$(NULL)
.f_orig.f:
cp $*.f_orig $*.f
chmod 664 $*.f
default all: targets
linpackup.f: linpack.f_orig
cp linpack.f_orig linpackup.f
chmod 664 linpackup.f
linpackup: second.o linpackup.f
f77 $(OPTS) -o linpackup linpackup.f second.o $(LDFLAGS)
linpackd: second.o linpack.f
f77 $(OPTS) -pfa keep -o linpackd linpack.f second.o $(LDFLAGS)
second.o: second.c
cc $(OPTS) -c second.c
targets: $(TARGETS)
clean clobber:
-rm -f *.m *.f *.anl *.L \
*.o $(TARGETS) core*
-rm -f OUT.*
-rm -f OUTup.*
-rm -f *.pix*
-rm -f *.usertime.*
-rm -f *.pcsamp.*
-rm -f *.fpcsamp.*
-rm -f *.pcsampx.*
-rm -f *.fpcsampx.*
-rm -f *.ideal.*
-rm -f *.heap.*
-rm -f *.fpe.*
-rm -f *_hwc.*
-rm -f make.out
-rm -f linpack.l
-rm -f *STATUS_LOG
-rm -f *.io.*
-rm -f *_hwctime.*
-rm -f *.totaltime.*
-rm -f *.Counts*